package PCPackage;
public class Person {
	public String name;
	public Integer age;
	public Person(String name, Integer age) {
		this.name = name;
		this.age = age;
	}
	public String getName() {
		return this.name;
	}
	public Integer getAge() {
		return this.age;
	}
	public void setName(String s) {
		this.name = s;
	}
	public void setAge(Integer i) {
		this.age = i;
	}
	public void display() {
		System.out.printf("姓名是:%s\n", this.name);
		System.out.printf("年龄是:%d\n", this.age);
	}
}
